import Vue from 'vue'
import Router from 'vue-router'
import Login from '@/components/Login'
import Todolist from '@/components/Todolist'
import Signin from '@/components/Signin'
import test from '@/components/test'
Vue.use(Router)

export default new Router({
  mode: 'history',
  routes: [
    {
      path: '/',
      name: 'Login',
      component: Login
    },
    {
    	path:'/todolist',
    	name:'Todolist',
    	component:Todolist,
    },
    {
      path:'/signin',
      name:'Signin',
      component:Signin
    },{
      path:'/test',
      name:'test',
      component:test
    }
  ]
})
